/*
 * Copyright (c) 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * Warning! This file is generated. Modify at your own risk.
 */

package com.google.api.services.gan.model;

import com.google.api.client.http.HttpHeaders;
import com.google.api.client.json.GenericJson;
import com.google.api.client.util.Key;
import java.util.List;

/**
 * Model definition for Gan.Publishers.
 *
 * This class models an object which will be transmitted to or from the Gan service. To reduce the
 * data transferred during service requests, you may remove members that contain data elements that
 * your application does not need.
 *
 * For a detailed explanation, see: <a href="http://code.google.com/p/google-api-java-
 * client/wiki/Json"> http://code.google.com/p/google-api-java-client/wiki/Json</a>
 *
 * @author Google, Inc.
 */
public final class Publishers extends GenericJson {

  /**
   * The 'pageToken' to pass to the next request to get the next page, if there are more to
   * retrieve.
   */
  @Key("nextPageToken")
  private String nextPageToken;

  /**
 * The 'pageToken' to pass to the next request to get the next page, if there are more to retrieve.
 */
  public String getNextPageToken() {
    return nextPageToken;
  }

  /**
 * The 'pageToken' to pass to the next request to get the next page, if there are more to retrieve.
 */
  public Publishers setNextPageToken(String nextPageToken) {
    this.nextPageToken = nextPageToken;
    return this;
  }
  /**
   * The entity list.
   */
  @Key("items")
  private java.util.List<Publisher> items;

  /** The entity list. */
  public java.util.List<Publisher> getItems() {
    return items;
  }

  /** The entity list. */
  public Publishers setItems(java.util.List<Publisher> items) {
    this.items = items;
    return this;
  }
  /**
   * The kind for a page of entities.
   */
  @Key("kind")
  private String kind;

  /** The kind for a page of entities. */
  public String getKind() {
    return kind;
  }

  /** The kind for a page of entities. */
  public Publishers setKind(String kind) {
    this.kind = kind;
    return this;
  }


  private HttpHeaders responseHeaders;

  /**
   * Sets the HTTP headers returned with the server response, or <code>null</code>.
   *
   * This member should only be non-null if this object was the top level element of a response. For
   * example, a request that returns a single Publishers would include the response headers, while a
   * request which returns an array of Publishers, would have a non-null response header in the
   * enclosing object only.
   */
  public void setResponseHeaders(HttpHeaders responseHeaders) {
    this.responseHeaders = responseHeaders;
  }

  /**
   * Returns the HTTP headers that were returned with the server response, or
   * <code>null</code>.
   */
  public HttpHeaders getResponseHeaders() {
    return responseHeaders;
  }
}
